package com.gzx.plugin.tjzy.modular.company.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import vip.xiaonuo.common.handler.CommonSm1AesTypeHandler;
import vip.xiaonuo.common.pojo.CommonEntity;

import java.io.Serial;

/**
 * 委托公司对象 gzx_company
 *
 * @author LionLi
 * @date 2024-09-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "gzx_company", autoResultMap = true)
public class GzxCompany extends CommonEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 公司编码
     */
    private String companyCode;

    /**
     * 公司名称
     */
    private String companyName;

    /**
     * 税号/统一社会信用代码
     */
    private String unifiedSocialCreditCode;

    /**
     * 联系人
     */
    private String concatName;

    /**
     * 联系人电话
     */
    @TableField(typeHandler = CommonSm1AesTypeHandler.class)
    private String concatPhone;

    /**
     * 银行卡号
     */
    @TableField(typeHandler = CommonSm1AesTypeHandler.class)
    private String bankAccount;

    /**
     * 开户行
     */
    private String openingBank;

}
